/// 患者病例数据模型
class PatientRecord {
  String id;
  String content;
  String history;
  String diagnosis;
  String suggestion;
  String checkTime;

  PatientRecord(
      {this.id,
      this.content,
      this.history,
      this.diagnosis,
      this.suggestion,
      this.checkTime});

  factory PatientRecord.fromJson(Map<String, dynamic> data) {
    return PatientRecord(
      id: data['id'],
      content: data['content'],
      history: data['history'],
      diagnosis: data['diagnosis'],
      suggestion: data['suggestion'],
      checkTime: data['checkTime'],
    );
  }
}
